CSG Object IDs
QuickDraw 3D provides constants that you can use to specify an ID for a CSG object. You assign a CSG object ID to an object by including an attribute of typekQ3AttributeType_ConstructiveSolidGeometryID
in the object's attribute set. Currently, QuickDraw 3D supports up to five CSG objects per model.
#define kQ3SolidGeometryObjA 0 #define kQ3SolidGeometryObjB 1 #define kQ3SolidGeometryObjC 2 #define kQ3SolidGeometryObjD 3 #define kQ3SolidGeometryObjE 4Constant descriptions
kQ3SolidGeometryObjA
- The CSG object A.
kQ3SolidGeometryObjB
- The CSG object B.
kQ3SolidGeometryObjC
- The CSG object C.
kQ3SolidGeometryObjD
- The CSG object D.
kQ3SolidGeometryObjE
- The CSG object E.